<form id="myForm2" method="post" action="<?php echo $current?>insertOrder" class="form-horizontal" role="form">
<?

	echo $genhtml -> getHidden("KUNNR", "KUNNR");
	echo $genhtml -> getHidden("NAME", "NAME");
	echo $genhtml -> getHidden("ADDRESS", "ADDRESS");
	
	echo $genhtml -> getHidden("TELEPHONE", "TELEPHONE");
	echo $genhtml -> getHidden("EMAIL", "EMAIL");
	echo $genhtml -> getHidden("FAX", "FAX");
	
	
	echo $genhtml -> getText("ชื่อลูกค้า", "NAME");
	echo $genhtml -> getText("ที่อยู่", "ADDRESS");
	
	echo $genhtml -> getText("เลขทะเบียนเสียภาษี", "TAXID");
	echo $genhtml -> getText("วงเงินจำกัด", "CREDIT_LIMIT");
	
	//echo $genhtml -> getComboBox("ประเภทเอกสาร", "order_type", $orderType, "order_id", "order_name");
	//echo $genhtml -> getComboBox("เหตุผลการสั่ง", "order_reason", $orderReason, "reason_id", "reason_name");
	//echo $genhtml -> getComboBox("หมวดรายการ", "item_categories", $itemCategory, "cat_id", "cat_name");
	echo $genhtml -> getComboBox("เปิดบิล", "price_type", $priceType, "price_id", "price_type");
	
?>
<div class="form-group">
	<strong style="margin-right:65px">ประเภท Vat</strong>
	<label>
		
		<input checked="checked"  type="radio" class="action" name="vatType" value="VAT">
		Vat</label>
	<label>
		<input  type="radio" name="vatType" class="action" value="NOVAT" >
		No Vat</label>
</div>



	<?
	echo $genhtml->getButton("submit","mySubmit","สร้าง order");
	?>
</form>



